package com.ss.android.account;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

public class AccountSyncService extends Service {
    private static AccountSyncAdapter a = null;
    private static final Object b = new Object();

    public AccountSyncService() {

    }

    public IBinder onBind(Intent arg2) {
        return AccountSyncService.a.getSyncAdapterBinder();
    }

    public void onCreate() {
        Object v1 = AccountSyncService.b;
        synchronized (v1) {
            if (AccountSyncService.a == null) {
                AccountSyncService.a = new AccountSyncAdapter(this.getApplicationContext());
            }
        }
    }
}

